package com.example.jdk11;

public class NestBasedTest {

    private int outerPrivateField;

    public class Inner {
        private int innerPrivateField;

        public void accessOuterPrivateField() {
            System.out.println(outerPrivateField);
        }
    }
}
